import junit.framework.TestCase;
//class Zly_System extends Exception{};
public class LiczbaTest extends TestCase {
	Liczba L1 = null;

	public void setUp() throws Zly_System {
		L1 = new Liczba(4, 2);
	}
	public void testFour() throws Exception{
		String str = L1.wynik();
		assertEquals(str,"100");
	}
	public void testNotSame() throws Exception{
		String str = L1.wynik();
		assertNotSame("100", str);
	}
	public void testNotNull () throws Exception{
		String str = L1.wynik();
		assertNotNull( str);
	}
	public void testTrue () throws Exception{
		boolean str = L1.wynik() != null;
		assertTrue(str);
	}
	public void testNull() throws Exception{
		L1 = null;
		assertNull(L1);
	}
	public void testFive() throws Exception{
		Liczba L2;
		L2 = new Liczba(5, 2);
		String str = L2.wynik();
		assertEquals(str,"101");
	}
	public void tearDown(){
		L1 = null;
	}
}
